package com.yayan.xh.service;

import java.util.Map;

import org.springframework.stereotype.Service;

import com.yayan.xh.bean.OperateBean;
import com.yayan.xh.dao.IOperateDao;
import com.yayan.xh.dao.OperateDao;

@Service
public class OperateService implements IOperateService {
	
	private IOperateDao operateDao;
	
	public OperateService() {
		operateDao = new OperateDao();
	}

	@Override
	public OperateBean adminLogin(Map<String, String> map) {
		OperateBean result = null;
		try {
			result = operateDao.adminLogin(map);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}

}
